package com.zhongwang.mms.module.material.dao;

import com.zhongwang.mms.module.material.model.CompositeOutcomeModel;
import org.springframework.stereotype.Repository;


import java.util.List;
@Repository
/**
 * @Description: 出入库综合查询 数据访问层
 * @Author: China.zy
 * @Date: 2020/3/21
 */
public interface CompositeOutcomeDao {

    /**
     * 根据条件查询出入库综合信息
     * @param compositeOutcomeModel 条件
     * @return list
     */
    List<CompositeOutcomeModel> findCompositeOutcome(CompositeOutcomeModel compositeOutcomeModel);


    int createMinQueryTempTableByParam(CompositeOutcomeModel param);

    int createMinQueryTempTableByParamAndNoAmount(CompositeOutcomeModel param);
}